package work.mediway.mdm.biz.service.biz;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import work.mediway.mdm.core.transport.ErrorMsgVO;
import work.mediway.mdm.biz.dto.biz.DataQualityDataExceptionDealDTO;
import work.mediway.mdm.biz.entity.biz.SsDataQualityLogItem;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2022/8/5
 */
public interface SsDataQualityLogItemService extends IService<SsDataQualityLogItem> {

    /**
     * 查询数据质量结果详情
     *
     * @param dataQualityLogItem SsDataQualityLogItem
     * @return List<SsDataQualityLogItem>
     */
    List<SsDataQualityLogItem> selectDataQualityLogItem(SsDataQualityLogItem dataQualityLogItem);

    /**
     * 处理异常值
     *
     * @param dataExceptionDeals List<DataQualityDataExceptionDealDTO>
     * @return ErrorMsgVO
     */
    ErrorMsgVO dataQualityDataExceptionDeal(List<DataQualityDataExceptionDealDTO> dataExceptionDeals);

    /**
     * 手动比对
     *
     * @param logItemIds List<String>
     * @return ErrorMsgVO
     */
    ErrorMsgVO dataQualityDataExceptionOperaDeal(List<String> logItemIds);
}
